'use strict';

angular.module('myApp.charge', ['ngRoute'])

    .config(['$routeProvider', function($routeProvider) {
        $routeProvider.when('/charge', {
            templateUrl: 'charge/charge.html',
            controller: 'chargeCtrl'
        });
    }])

    .controller('chargeCtrl',['lHTTP','lPop','$scope',function(lHTTP,lPop,$scope) {
        //lPop.popSet(2 , $scope ,"充值10元" ,"使用微信支付" , "images/prompt-icon.png" , "取消",undefined , "确定" , undefined,3000);
        //$scope.showPopTips = true;
        $.charge(lHTTP,lPop,$scope);
    }]);
